﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using com.hyrentals.webcommon.extensions;

namespace com.hyrentals.webportal.Config
{
    public class ImageConfig
    {
        public static string IMAGE_DOWNLOAD_SERVER = HtmlExtensions.GetConfigParam("imageDownloadServer") ?? string.Empty;
        public static string IMAGE_CDN_SERVER = HtmlExtensions.GetConfigParam("imgCDNServer") ?? string.Empty;
        public static string IMAGE_CDN_PATH = IMAGE_CDN_SERVER + "static/img/";

        public const int IMAGE_WIDTH_PHOTO = 200;
        public const int IMAGE_HEIGHT_PHOTO = 130;

        public const int IMAGE_WIDTH_RV_COVER_SMALL = 50;
        public const int IMAGE_HEIGHT_RV_COVER_SMALL = 50;

        public const int IMAGE_WIDTH_USER_AVATAR_SMALL = 30;
        public const int IMAGE_HEIGHT_USER_AVATAR_SMALL = 30;
    }
}